package site.shihuan.helpdesk.service.model.doc;

import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * 知识库在ElasticSearch中的字段
 *
 * @author 周世焕
 * @Date 2021/3/13 21:03
 */
public class EsKnowledgeFields {

    public static final String ID = "id";

    public static final String TENANT_ID = "tenantId";

    public static final String QUESTION = "question";

    public static final String ANSWER = "answer";

    public static final String CREATED = "created";

    public static final String PARENT_ID = "parentId";

}
